<?php
if(!function_exists('regions'))
{
function regions($i){
  switch ($i) {
    case 0:
        return "Alsace"; 
            break;

    case 1:
        return "Aquitaine"; 
            break;
case 2:
         return "Auvergne"; 
            break;

     case 3:
        return "Basse-Normandie"; 
             break;

    case 4:
        return "Bretagne
"; 
            break;


    case 5:
         return "Centre"; 
            break;

case 6:
        return "Champagne-Ardenne
"; 
        break;

    case 7:
        return "Corse
"; 
            break;


    case 8:
         return "Franche-Comté
"; 
            break;

case 9:
        return "Haute-Normandie
"; 
        break;

    case 10:
        return "Île-de-France
"; 
            break;


    case 11:
         return "Languedoc-Roussillon
"; 
            break;

case 12:
        return "Limousin
"; 
        break;

    case 13:
        return "Lorraine
"; 
            break;


    case 14:
         return "Midi-Pyrénées
"; 
            break;

case 15:
        return "Nord-Pas-de-Calais
"; 
        break;

    case 16:
        return "Pays de la Loire
"; 
            break;


    case 17:
         return "Picardie
"; 
            break;

        case 18:
         return "Poitou-Charentes
"; 
                break;

case 19:
        return "Provence-Alpes-Côte d'Azur
"; 
        break;

    case 20:
        return "Rhône-Alpes
"; 
            break;


}

}}

if(!function_exists('regions_js'))
{
function regionsjsTophp($i){
    
  
  switch ($i) {
    case "alsace":
        return "Alsace"; 
            break;

    case "aquitaine":
        return "Aquitaine"; 
            break;
case "auvergne":
         return "Auvergne"; 
            break;

     case "bassenormandie":
        return "Basse-Normandie"; 
             break;

    case "bretagne":
        return "Bretagne"; 
            break;


    case "centre":
         return "Centre"; 
            break;

case "champagneardenne":
        return "Champagne-Ardenne"; 
        break;

    case "corse":
        return "Corse"; 
            break;


    case "franchecomte":
         return "Franche-Comté"; 
            break;

case "hautenormandie":
        return "Haute-Normandie"; 
        break;

    case "iledefrance":
        return "Île-de-France"; 
            break;


    case "languedocroussillon":
         return "Languedoc-Roussillon"; 
            break;

case "limousin":
        return "Limousin"; 
        break;

    case "lorraine":
        return "Lorraine"; 
            break;


    case "midipyrenees":
         return "Midi-Pyrénées"; 
            break;

case "nordpasdecalais":
        return "Nord-Pas-de-Calais"; 
        break;

    case "paysdelaloire":
        return "Pays de la Loire"; 
            break;


    case "picardie":
         return "Picardie"; 
            break;

        case "poitoucharentes":
         return "Poitou-Charentes"; 
                break;

case "provencealpescotedazur":
        return "Provence-Alpes-Côte d'Azur"; 
        break;

    case "rhonealpes":
        return "Rhône-Alpes"; 
            break;



    
}}}




if(!function_exists('regions_js'))
{
function regions_js($i){
  switch ($i) {
    case 0:
        return "alsace"; 
            break;

    case 1:
        return "aquitaine"; 
            break;
    case 2:
         return "auvergne"; 
            break;

     case 3:
        return "bassenormandie"; 
             break;

    case 4:
        return "bretagne"; 
            break;


    case 5:
         return "centre"; 
            break;

    case 6:
        return "champagneardenne"; 
        break;

    case 7:
        return "corse"; 
            break;

    case 8:
         return "franchecomte"; 
            break;

    case 9:
        return "hautenormandie"; 
        break;

    case 10:
        return "iledefrance"; 
            break;


    case 11:
         return "languedocroussillon"; 
            break;

    case 12:
        return "limousin"; 
        break;

    case 13:
        return "lorraine"; 
            break;


    case 14:
         return "midipyrenees"; 
            break;

    case 15:
        return "nordpasdecalais"; 
        break;

    case 16:
        return "paysdelaloire"; 
            break;


    case 17:
         return "picardie"; 
            break;

        case 18:
         return "poitoucharentes"; 
                break;

    case 19:
        return "provencealpescotedazur"; 
        break;

    case 20:
        return "rhonealpes"; 
            break;


}

}}
?>
